let proxyObj ={}

proxyObj['/']={
    ws: false,
    //目标地址
    target: 'http://localhost:8084',
    changeOrigin: true,
    pathRewrite:{
        '^/':'/student/'
    }
};

proxyObj['/ws'] = {
    ws: true,
    target: 'ws://localhost:8084'
};


module.exports = {
  lintOnSave:false,
  devServer: {
    host:'localhost',
    port: 8080,
    proxy: proxyObj ,
    disableHostCheck: true
  }
}
